export const unique=(arr:any,u_key:string)=> {
    let map = new Map()
    arr.forEach((item:any,index:number)=>{
      if (!map.has(item[u_key])){
        map.set(item[u_key],item)
      }
    })
    return [...map.values()]
  }